<template>
  <div :class="{ 'view-style-wrapper': isLink }" style="width: 100%">
    <slot></slot>
  </div>
</template>
<script setup>
defineProps({
  isLink: {
    type: Boolean,
  },
});
</script>
<style lang="less">
.view-style-wrapper {
  cursor: pointer;
  * {
    color: blue !important;
    text-decoration: underline;
  }
}
</style>
